package com.jvmoutofmemory.platform.pushutil.constants;

/**
 * Created by Administrator on 2017/6/8 0008.
 */
public enum PushJobStatus {
    NOT_PUSHED((short)0,"尚未请求"),
    FAILED((short)1,"请求失败"),
    SUCCESS((short)2,"请求成功"),
    ;

    private Short code;
    private String name;

    PushJobStatus(Short code, String name) {
        this.code = code;
        this.name = name;
    }

    public Short getCode() {

        return code;
    }

    public void setCode(Short code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
